#!/bin/bash

sum=0;
i=1;
while [ $i -le 100 ]
do
	sum=$[$sum + $i];
	i=$[$i + 1]
done

echo "和为$sum"


